#include "Size3D.h"

Size3D::Size3D(void)
:m_Height(0.0)
{
}

Size3D::Size3D(double a_Width, double a_Length, double a_Height)
:Size2D(a_Width, a_Length)
, m_Height(a_Height)
{
}

Size3D::~Size3D(void)
{
}

double Size3D::GetArea() const
{

	return GetHeight() * Size2D::GetArea();
}

double Size3D::GetHeight() const
{

	return m_Height;
}

void Size3D::SetHeight(double a_Height)
{
  m_Height = a_Height;
}